<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./数组去重1.js"></script>
    <script src="./数组去重2.js"></script>
    <script src="./数组去重3.js"></script>
</head>

<body>
    <script>
        newlist = [3, 4, 5, 6, 7, 3, 2, 1, 3, 2, 3, 4]
        const res1 = unique1(newlist, item => item > 3)
        console.log("unique1-----" + res1)
        const res2 = unique2(newlist, item => item > 3)
        console.log("unique2-----" + res2)
        const res3 = unique3(newlist, item => item > 3)
        console.log("unique3-----" + res3)
    </script>

</body>

</html>